package com.itheima.reggie.dto;

import com.itheima.reggie.pojo.Setmeal;
import com.itheima.reggie.pojo.SetmealDish;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

//@ToString使该类的toString与父类的toString合并
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Data
public class SetmealDto extends Setmeal {

    private String categoryName;    //套餐名称

    private List<SetmealDish> setmealDishes;    //套餐包含的菜品

}
